package top.resty.erp.service;

import top.resty.erp.domain.Products;

import java.util.List;

/**
 * <pre>
 *
 * </pre>
 *
 * @author : resty
 * @date : 2021年03月25 09:56
 */
public interface ProductService {
	
	public int saveProducts( List<Products> products);
	
	public List<String> findAllSuppliers();
	
	public List<String> findAllVarieties();
	
	public List<String> findAllContactsForSupplier(String supplier);
	
	public List<String> findTelephonesForContact(String contact);
	
	public List<String> findByLikeWarehouseId(String warehouseId);
	
	
	public List<Products> warehouseIdList(String warehouseId);
	
	
	public boolean updateProducts(String keyStr,String valueStr,Integer id);
	
	public boolean deleteProducts(Integer id);
	
	public List<Products> warehouseIdAllList(String warehouseId);
	
	
	public List<Products> findProductsForSupplier(String supplier);
	
	public List<Products> findProductsForVariety(String variety);}
	
	